package com.dkm.ec.activity.repository;

import com.dkm.biz.repository.IRepository;
import com.dkm.ec.activity.domain.LimitBuyActivityConfig;
import com.dkm.ec.activity.persistence.entity.LimitBuyActivityConfigPo;

import java.util.List;

/**
 * Created by fanjinyuan on 2017/8/11.
 */
public interface LimitBuyActivityConfigRepository extends IRepository<String, LimitBuyActivityConfigPo, LimitBuyActivityConfig> {

    List<LimitBuyActivityConfigPo> findTodayActivities();

    /**
     * 获取活动详情
     * @param activityId
     * @return
     */
    public LimitBuyActivityConfigPo get(String activityId);

}
